#define  _CRT_SECURE_NO_WARNINGS
#include "stdio.h"
void ShuChuLongest(char a[])
{
    int i = 0;
    char b[80];
    int j;
    for (j = 0;a[i] != '\n';j++)
    {
        int k;
        /*for ( k = 0;a[i] != ' ';i++)*/
       /* for (k = 0;a[i] != ' '||a[i]!='.';i++)*/
        for (k = 0;a[i] != 32 && a[i] != '.';i++)
        {
            k++;
        }
        b[j] = k;
        i++;
    }
    int k = 0;
    for (int h = 0;h < j - 1;h++)
    {
        if (b[h + 1] > b[k])
            k = h + 1;
    }
    int sum = 0;
    for (int h = 0;h < k;h++)
    {
        sum = sum + b[h] + 1;
    }
    for (int h = sum;h < sum + b[k];h++)
        printf("%c", a[h]);
}